// components/finde/finde.js
Component({
  data:{},
  methods:{
    findIndex:function(){
      let arr =this.data.arrs;
      let date ={};
      for(let i=0;i<arr.length;i++){
        var key = arr[i];
        // console.log('key',date[]);
        if(date[key]){
          date[key] += 1;
        }else{
          date[key] = 1
        }
      }
      return date
    },
  }
})